<?php

if(! defined('OT_ROOT')) {
	exit('Access Denied');
}


class AppJingan{
	public static $appName = 'IDC接口_景安网络';
	public static $appID = 124;

	public static function Jud(){
		return false;
	}

	public static function Show($str, $def=''){
			return $def;
	}

	public static function VpsSysTrBox1($VS_keytype, $VS_usetype, $VS_isTryBuy, $VS_isHostZhuanzheng, $VS_isVpsZhuanzheng, $VS_jinganApiUrl1, $VS_jinganApiUrl2){
		return Adm::PluDefItem(self::$appName, '景安多项设置');
	}

	public static function VpsApiDataItem(){

	}

	public static function VpsApiUsersItem(){

	}

	public static function ApiVpsKaitong($confArr, $paraArr){
				return array('res'=>false, 'ori'=>'', 'note'=>StrInfo::AlertStr('noApp'));
	}

	public static function ApiVpsZhuanzheng($confArr, $paraArr){
			return array('res'=>false, 'ori'=>'', 'note'=>StrInfo::AlertStr('noApp'));
	}

	public static function ApiVpsXufei($confArr, $paraArr){
			return array('res'=>false, 'ori'=>'', 'note'=>StrInfo::AlertStr('noApp'));
	}

	public static function ApiVpsUpdate($confArr, $paraArr){
				return array('res'=>false, 'ori'=>'', 'note'=>StrInfo::AlertStr('noApp'));
	}

	public static function ApiVpsSync($confArr, $paraArr){
			return array('res'=>false, 'ori'=>'', 'note'=>StrInfo::AlertStr('noApp'));
	}

	public static function ApiHostKaitong($confArr, $paraArr){
			return array('res'=>false, 'ori'=>'', 'note'=>StrInfo::AlertStr('noApp'));
	}

	public static function ApiHostZhuanzheng($confArr, $paraArr){
			return array('res'=>false, 'ori'=>'', 'note'=>StrInfo::AlertStr('noApp'));
	}

	public static function ApiHostXufei($confArr, $paraArr){
			return array('res'=>false, 'ori'=>'', 'note'=>StrInfo::AlertStr('noApp'));
	}

	public static function ApiHostUpdate($confArr, $paraArr){
				return array('res'=>false, 'ori'=>'', 'note'=>StrInfo::AlertStr('noApp'));
	}

	public static function ApiHostSync($confArr, $paraArr){
			return array('res'=>false, 'ori'=>'', 'note'=>StrInfo::AlertStr('noApp'));
	}

	public static function ApiAuth($confArr, $paraArr){
			return array('res'=>false, 'ori'=>'', 'note'=>StrInfo::AlertStr('noApp'));
	}

	public static function GetIpList($resArr){
	}

	public static function ptypeCN($str){
		switch ($str){
			case 'cloudVirtual':	return '云虚拟主机';
			case 'host':			return '国内主机';
			case 'hkhost':			return '香港主机';
			case 'usahost':			return '美国主机';
			case 'fastcloudvps':	return '快云VPS';
			case 'vps':				return '特卖VPS';
			default :				return '['. $str .']';
		}
	}

	public static function pnameCN($str){
		switch ($str){
			case 'cloudVirtual.JS.I':	return '云虚拟主机极速I型';
			case 'cloudVirtual.JS.II':	return '云虚拟主机极速II型';
			case 'cloudVirtual.JS.III':	return '云虚拟主机极速III型';
			case 'cloudVirtual.I':		return '云虚拟主机I型';
			case 'cloudVirtual.II':		return '云虚拟主机II型';
			case 'cloudVirtual.III':	return '云虚拟主机III型';
			case 'host.mf.I':			return '国内免费I型';
			case 'host.gr.A':			return '国内个人A型';
			case 'host.gr.B':			return '国内个人B型';
			case 'host.qy.A':			return '企业A型';
			case 'host.qy.B':			return '企业B型';
			case 'hkhost.I':			return '香港I型';
			case 'hkhost.II':			return '香港II型';
			case 'hkhost.III':			return '香港III型';
			case 'hkhost.V':			return '香港V型';
			case 'hkhost.G':			return '香港G型';
			case 'usa.host.I':			return '美国主机I型';
			case 'usa.host.II':			return '美国主机II型';
			case 'usa.host.III':		return '美国主机III型';
			case 'usa.host.V':			return '美国主机V型';
			case 'usa.host.G':			return '美国主机G型';
			case 'fast.cloudvps.jichu':		return '快云VPS基础型';
			case 'fast.cloudvps.puji':		return '快云VPS普及型';
			case 'fast.cloudvps.jingji':	return '快云VPS经济型';
			case 'fast.cloudvps.haohua':	return '快云VPS豪华型';
			case 'fast.cloudvps.qijian':	return '快云VPS旗舰型';
			case 'fast.cloudvps.zhizun':	return '快云VPS至尊型';
			case 'temai.vps.jichu':			return '特卖VPS基础型';
			case 'temai.vps.puji':			return '特卖VPS普及型';
			case 'temai.vps.jingji':		return '特卖VPS经济型';
			case 'temai.vps.haohua':		return '特卖VPS豪华型';
			case 'hk.vps.pj':				return '香港VPS普及型';
			case 'hk.vps.jingji':			return '香港VPS经济型';
			case 'hk.vps.haohua':			return '香港VPS豪华型';
			case 'hk.vps.zhizun':			return '香港VPS至尊型';
			default :					return '['. $str .']';
		}
	}
}
?>